<ul class="breadcrumb">
        <li>
            <a href="<?php echo base_url('/home'); ?>">Home</a> <span class="divider">/</span>
        </li>
        <li>
            Search Result
        </li>
        
    </ul>
<div class="span9">                   
    <div class="main_content">
        <h3 class="title"><span class="pull-left">Search Result - <?php echo $keyword; ?> </span>
            </h3>
        <div class="container-fluid">
        <div class="row-fluid">
           <div class="span12">
                <div class="other_info">
                  <?php if($noresult): ?>
                     <p class="text-warning">There is no result found.</p>
                     Please check in the following sections:
                     <ul>
                        <li> <a href="<?php echo base_url('/classifieds'); ?>">Classifieds</a> </li>
                        <li> <a href="<?php echo base_url('/property'); ?>">Property</a></li>
                        <li> <a href="<?php echo base_url('/automobiles'); ?>">Automobiles</a> </li>

                     </ul>
                  <?php endif; ?>
                    <?php if(isset($classifieds)):?>
                            <h5><span>Buy and Sell Section</span></h4 >
                            <?php $classlist = $classifieds['rows']; ?>
                             <?php foreach($classlist as $cad): ?>
                                <p>
                                    <strong><a href="<?php echo base_url('/classifieds'); ?>"><?php echo $cad->title; ?></a></strong>
                                    <br/>in <a href="#"> <?php echo $cad->cat_descriptions; ?></a> - <?php echo date ("d/m/Y",strtotime($cad->posted_date)); ?>               
                                </p>
                        <?php endforeach; ?>
                        
                     <?php endif; ?>

                      <?php if(isset($rproperty)):?>
                        <h5><span>Property Section</span></h5>
                            <?php $proplist = $property['rows']; ?>
                            <?php foreach($proplist as $row): ?>
                                <p>
                                    <strong><a href="#"><?php echo $row['title']; ?></a></strong>
                                    <br/>in <a href="#"> <?php echo $row->type; ?></a> - <?php echo date ("d/m/Y",strtotime($row->posted_date)); ?>               
                                </p>
                            <?php endforeach; ?>
                        <span class="pull-right">View All </span>
                     <?php endif; ?>

                      <?php if(isset($automobile)): ?>
                        
                           <?php $autolist = $automobile['rows']; ?>
                           <?php if (count($autolist) > 0):?>
                            <h5><span>Automobile Section</span></h5>
                           <?php endif; ?>
                           <?php foreach($autolist  as $auto): ?>
                                <p>
                                    <strong><a href="#"><?php echo $auto->title; ?></a></strong>
                                    <br/>in <a href="#"> <?php echo $auto->brand_name; ?></a> - <?php echo date ("d/m/Y",strtotime($auto->posted_date)); ?>               
                                </p>
                            <?php endforeach; ?>
                        
                        <span class="pull-right">View All </span>
                     <?php endif; ?>
                </div>

            </div>
        </div>
    </div>
</div>
</div>		